package pojo.qo;

import io.swagger.annotations.ApiModelProperty;
import pojo.entity.RolePermission;

import java.util.List;

public class RolePermissionQO {
    @ApiModelProperty(value = "角色id")
    private Long id;
    @ApiModelProperty(value = "角色名称")
    private String roleName;
    @ApiModelProperty(value = "角色描述")
    private String description;
    @ApiModelProperty(value = "角色id")
    private Long roleId;
    @ApiModelProperty(value = "权限id")
    private Long[] permissionId;

    @Override
    public String toString() {
        return "RolePermissionQO{" +
                "id=" + id +
                ", roleName='" + roleName + '\'' +
                ", description='" + description + '\'' +
                ", roleId=" + roleId +
                ", permission=" + permissionId +
                '}';
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long[] getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Long[] permissionId) {
        this.permissionId = permissionId;
    }


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}

